package www.woniuxy.com.class112.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import www.woniuxy.com.class112.entity.UserFavorites;
import www.woniuxy.com.class112.entity.UserFavoritesExample;

public interface UserFavoritesMapper {
    long countByExample(UserFavoritesExample example);

    int deleteByExample(UserFavoritesExample example);

    int deleteByPrimaryKey(Long favoriteId);

    int insert(UserFavorites record);

    int insertSelective(UserFavorites record);

    List<UserFavorites> selectByExample(UserFavoritesExample example);

    UserFavorites selectByPrimaryKey(Long favoriteId);

    int updateByExampleSelective(@Param("record") UserFavorites record, @Param("example") UserFavoritesExample example);

    int updateByExample(@Param("record") UserFavorites record, @Param("example") UserFavoritesExample example);

    int updateByPrimaryKeySelective(UserFavorites record);

    int updateByPrimaryKey(UserFavorites record);
}